import type { RouteRecordRaw } from 'vue-router';

const basicRouteList: RouteRecordRaw[] = [
  {
    path: '/signin-oidc',
    name: 'signin-oidc',
    component: () =>
      import(/* webpackChunkName: "oidc-redirect" */ '@/views/common/LoginRedirect.vue'),
    meta: {
      title: '登录重定向',
      noAuth: true
    }
  },
  {
    // 页面不存在路由
    path: '/:pathMatch(.*)',
    name: 'page-not-found',
    component: () => import('@/views/common/PageNotFoundView.vue')
  },
  {
    // 用户未授权
    path: '/403',
    name: 'access-denied',
    component: () => import('@/views/common/AccessDeniedView.vue')
  }
];

export default basicRouteList;
